package handler

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func (h *Handler) GetUser(c *gin.Context) {
	id := c.Query("id")

	c.JSON(http.StatusOK, map[string]interface{}{
		"id": id,
	})
}

func (h *Handler) GetUsers(c *gin.Context) {

	c.JSON(http.StatusOK, map[string]interface{}{
		"ok": 1,
	})
}

func (h *Handler) GetHistoryByTg(c *gin.Context) {

	c.JSON(http.StatusOK, map[string]interface{}{
		"ok": 2,
	})
}

func (h *Handler) WriteIpToDB(c *gin.Context) {

	c.JSON(http.StatusOK, map[string]interface{}{
		"ok": 2,
	})
}
